class WaitTaskEntity {
  List<WaitTaskData> data;

  WaitTaskEntity({
    this.data,
  });

  WaitTaskEntity.fromJson(List json) {
    if (json != null) {
      data = new List<WaitTaskData>();
      (json as List).forEach((v) {
        data.add(new WaitTaskData.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.data != null) {
      data['data'] = this.data.map((v) => v.toJson()).toList();
    }
  }
}

class WaitTaskData {
  String creatorUserId;
  String materialname;
  String creationTime;
  String lastModificationTime;
  String smallcategoryname;
  String gobackCreationTime;
  String materialid;
  String equipmentType;
  String taskstate;
  bool isDeleted;
  String warehouseid;
  String spotcheckno;
  String completetime;
  String equipmentName;
  String id;
  bool isResult;
  String reportfileurl;
  int quantity;
  String supplierid;
  String lastModifierUserId;
  String pilotproject;
  String bigcategoryname;
  String gobackstate;
  String gobacktaskno;
  String spotcheckdetailid;
  String middlecategoryname;
  String suppliername;
  String inspectiontime;
  String taskno;
  String tenantId;
  String smallcategoryid;

  WaitTaskData(
      {this.creatorUserId,
      this.materialname,
      this.creationTime,
      this.lastModificationTime,
      this.smallcategoryname,
      this.gobackCreationTime,
      this.materialid,
      this.equipmentType,
      this.taskstate,
      this.isDeleted,
      this.warehouseid,
      this.spotcheckno,
      this.completetime,
      this.equipmentName,
      this.id,
      this.isResult,
      this.reportfileurl,
      this.quantity,
      this.supplierid,
      this.lastModifierUserId,
      this.pilotproject,
      this.bigcategoryname,
      this.gobackstate,
      this.gobacktaskno,
      this.spotcheckdetailid,
      this.middlecategoryname,
      this.suppliername,
      this.inspectiontime,
      this.taskno,
      this.tenantId,
      this.smallcategoryid});

  WaitTaskData.fromJson(Map<String, dynamic> json) {
    creatorUserId = json['creatorUserId'];
    materialname = json['materialname'];
    creationTime = json['creationTime'];
    lastModificationTime = json['lastModificationTime'];
    smallcategoryname = json['smallcategoryname'];
    gobackCreationTime = json['gobackCreationTime'];
    materialid = json['materialid'];
    equipmentType = json['equipmentType'];
    taskstate = json['taskstate'];
    isDeleted = json['isDeleted'];
    warehouseid = json['warehouseid'];
    spotcheckno = json['spotcheckno'];
    completetime = json['completetime'];
    equipmentName = json['equipmentName'];
    id = json['id'];
    isResult = json['isResult'];
    reportfileurl = json['reportfileurl'];
    quantity = json['quantity'];
    supplierid = json['supplierid'];
    lastModifierUserId = json['lastModifierUserId'];
    pilotproject = json['pilotproject'];
    bigcategoryname = json['bigcategoryname'];
    gobackstate = json['gobackstate'];
    gobacktaskno = json['gobacktaskno'];
    spotcheckdetailid = json['spotcheckdetailid'];
    middlecategoryname = json['middlecategoryname'];
    suppliername = json['suppliername'];
    inspectiontime = json['inspectiontime'];
    taskno = json['taskno'];
    tenantId = json['tenantId'];
    smallcategoryid = json['smallcategoryid'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['creatorUserId'] = this.creatorUserId;
    data['materialname'] = this.materialname;
    data['creationTime'] = this.creationTime;
    data['lastModificationTime'] = this.lastModificationTime;
    data['smallcategoryname'] = this.smallcategoryname;
    data['gobackCreationTime'] = this.gobackCreationTime;
    data['materialid'] = this.materialid;
    data['equipmentType'] = this.equipmentType;
    data['taskstate'] = this.taskstate;
    data['isDeleted'] = this.isDeleted;
    data['warehouseid'] = this.warehouseid;
    data['spotcheckno'] = this.spotcheckno;
    data['completetime'] = this.completetime;
    data['equipmentName'] = this.equipmentName;
    data['id'] = this.id;
    data['isResult'] = this.isResult;
    data['reportfileurl'] = this.reportfileurl;
    data['quantity'] = this.quantity;
    data['supplierid'] = this.supplierid;
    data['lastModifierUserId'] = this.lastModifierUserId;
    data['pilotproject'] = this.pilotproject;
    data['bigcategoryname'] = this.bigcategoryname;
    data['gobackstate'] = this.gobackstate;
    data['gobacktaskno'] = this.gobacktaskno;
    data['spotcheckdetailid'] = this.spotcheckdetailid;
    data['middlecategoryname'] = this.middlecategoryname;
    data['suppliername'] = this.suppliername;
    data['inspectiontime'] = this.inspectiontime;
    data['taskno'] = this.taskno;
    data['tenantId'] = this.tenantId;
    data['smallcategoryid'] = this.smallcategoryid;
    return data;
  }
}
